<template>
    <div id="child">
        <h2>我是子组件</h2>
        <Son></Son>
    </div>

</template>
<script>
    import Son from './Son.vue'
    export default {
        name: 'Child',
        components: {
            Son
        }
    }

</script>

<style>
    #child {
        width: 3000px;
        background-color: pink;
    }
</style>